/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
/*    */ package com.kingdee.shr.recuritment.util.vo;
/*    */ 
/*    */ import com.kingdee.bos.util.BOSUuid;
/*    */ import com.kingdee.eas.basedata.org.AdminOrgUnitInfo;
/*    */ import com.kingdee.eas.basedata.person.PersonInfo;
/*    */ import com.kingdee.shr.recuritment.InterviewerManagementInfo;
/*    */ import com.kingdee.shr.recuritment.InterviewerStateEnum;
/*    */ import java.util.Date;
/*    */ 
/*    */
/*    */
/*    */
/*    */
/*    */ public class InterviewerManagement
/*    */ {
/*    */   private String id;
/*    */   private String person;
/*    */   private String hrOrgUnit;
/*    */   private String email;
/*    */   private String phone;
		   private String InterviewStageIds;
/*    */   private String InterviewStageNames;
/*    */ 
/*    */   public String getId()
/*    */   {
/* 25 */     return this.id; }
/*    */
/*    */   public void setId(String id) {
/* 28 */     this.id = id; }
/*    */
/*    */   public String getPerson() {
/* 31 */     return this.person; }
/*    */
/*    */   public void setPerson(String person) {
/* 34 */     this.person = person; }
/*    */
/*    */   public String getHrOrgUnit() {
/* 37 */     return this.hrOrgUnit; }
/*    */
/*    */   public void setHrOrgUnit(String hrOrgUnit) {
/* 40 */     this.hrOrgUnit = hrOrgUnit; }
/*    */
/*    */   public String getEmail() {
/* 43 */     return this.email; }
/*    */
/*    */   public void setEmail(String email) {
/* 46 */     this.email = email; }
/*    */
/*    */   public String getPhone() {
/* 49 */     return this.phone; }
/*    */
/*    */   public void setPhone(String phone) {
/* 52 */     this.phone = phone;
/*    */   }
/*    */
	
/*    */   public InterviewerManagementInfo convert() {
/* 56 */     InterviewerManagementInfo interviewerManagementInfo = new InterviewerManagementInfo();
/* 57 */     String id = getId();
/* 58 */     if ((id != null) && (!("".equals(id)))) {
/* 59 */       interviewerManagementInfo.setId(BOSUuid.read(id));
/*    */     }
/* 61 */     if ((this.person != null) && (!("".equals(this.person)))) {
/* 62 */       BOSUuid personID = BOSUuid.read(this.person);
/* 63 */       PersonInfo personInfo = new PersonInfo();
/* 64 */       personInfo.setId(personID);
/* 65 */       interviewerManagementInfo.setPerson(personInfo);
/*    */     }
/*    */ 
/* 68 */     if ((this.hrOrgUnit != null) && (!("".equals(this.hrOrgUnit)))) {
/* 69 */       BOSUuid AbleDepartNamesID = BOSUuid.read(this.hrOrgUnit);
/* 70 */       AdminOrgUnitInfo AbleDepartNames = new AdminOrgUnitInfo();
/* 71 */       AbleDepartNames.setId(AbleDepartNamesID);
/* 72 */       interviewerManagementInfo.setDepartment(AbleDepartNames);
/*    */     }
/*    */ 
/* 75 */     interviewerManagementInfo.setEmail(this.email.trim());
/* 76 */     interviewerManagementInfo.setInterviewerState(InterviewerStateEnum.NORMAL);
/* 77 */     interviewerManagementInfo.setJoinDate(new Date());
/* 78 */     interviewerManagementInfo.setPhone(this.phone.trim());
			interviewerManagementInfo.put("InterviewStageIds", this.InterviewStageIds);
			interviewerManagementInfo.put("InterviewStageNames", this.InterviewStageNames);
		
/* 79 */     return interviewerManagementInfo;
/*    */   }
/*    */
public String getInterviewStageIds() {
	return InterviewStageIds;
}
public void setInterviewStageIds(String interviewStageIds) {
	InterviewStageIds = interviewStageIds;
}
public String getInterviewStageNames() {
	return InterviewStageNames;
}
public void setInterviewStageNames(String interviewStageNames) {
	InterviewStageNames = interviewStageNames;
} }
